<div class="restaurant_form">
  <%= error_messages_for :restaurant %> 
  <%= hidden_field :restaurant, :id %> 
  <p><label for="restaurant_name">
    <%= h 'name' %></label>
    <%= text_field :restaurant, :name %> 
  </p>
  <p><label for="restaurant_address">
    <%= h 'address' %></label>
    <%= text_field :restaurant, :address %>
  </p>
  <p><label for="restaurant_phone">
    <%= h 'phone' %></label> 
    <%= text_field :restaurant, :phone %>
  </p>
  <p><label for="restaurant_memo"><%= h 'memo' %></label>
    <%= text_area :restaurant, :memo, :cols => 50, :rows => 3 %> 
  </p>
</div>